<@user.user_html>
	<script type="text/javascript" src="${base}/scripts/user/file/index.js" language="javascript"></script>
	  
    <div class="clear"></div>
    
    <div class="showmanage showseach" style=" text-align:right;">
    	<input name="" type="button"  class="n1" value="编 辑"  style="color:#bb0000;" onClick="save()"/>
    </div>
    
    <div id="head_div" style="position:absolute;z-index:1000000;width:570px;display:none;border:1px solid;background:#ffffff;padding:10px;border:1px solid #bfbfbf;font-size:13px; text-align:center;">
	<div class="bgff" style="width:550px; height:232px " >
		<div  class="color6 font13 l">
			<form id="headForm" name="headForm" method="post" action="${base}/user/space/head!index">
			<table cellpadding="0" cellspacing="10" border="0">
				<tr>
					<td width="60px" align="right" ></td>
					<td align="left"><input id="upload_1" class="font13 vd_color9 bgff" name="upload" type="file" value="" onchange="return ajaxFileUpload(this);"/></td>
				</tr>
				<tr>
					<td width="60px" align="right" ></td>
					<td align="left"><div><img id="imgshow_1" width="165px" height="165px" src="${statics}/plugins/fileupload/pic_upload_default.jpg " class="multiple_img"/></div>
						<input id="hidden_1" type="hidden" name="headPath" value=""/>
					</td>
				</tr>
				<tr>
					<td align="right" ></td>
					<td align="center">
						<input type="button" value="确定"  onClick="closeAvatar()" class="bgff font14 weight700 mainColor bodredd"  style="padding:10px 70px;"/>
					</td>
				</tr>
			</table>
			</form>
		</div>
	</div>
</div>
	<script>
	function openDialog(){
		dialog("头像修改", "id:head_div", "550px", "290px", "id");
	}
	function closeAvatar(){
		$("#avatar_img").attr("src",$("#imgshow_1").attr("src"));
		$("#avatar_path").val($("#hidden_1").val());
		closeDialog();
	}
	</script>
    

    <div class="Mwarp">
    	<form id="editForm" name="editForm" method="post" action="${base}/user/file/index!edit">
		<input type="hidden" name="editUser.id" value="${editUser.id}"/>
    	<div class="Mleft">
        
        
        	<div class="Mbox">
            	<div class="boxtop">
                	<h4>${(editUser.name)!}</h4>
                </div>
                <div class="boxBody">
                	<div class="boxlogo">
                    	<img id="avatar_img" src="<#if editUser??&&editUser.avatar??>${(editUser.avatar)!}<#else>${base}/images/temp/euro2012.jpg</#if>" width="165px" height="165px"/>
                    	<input id="avatar_path" type="hidden" name="editUser.avatar" value="${(editUser.avatar)!}"/>
                    </div>
                    <h6 style="margin-top:10px;"><input name="" onClick="window.location.href='${base}/user/avatar/'" type="button" class="sm" value="修改头像" style="font-size:12px;" /></h6>
                    <h6>24岁</h6>

                    <div class="clear" style="padding-bottom:10px;"></div>
                   
                </div>
            </div>

            
        </div>
        <div class="Mmid">
        	<div class="Mbox Introduction inx" >
				<div class="boxtop">
					<h3>基本信息</h3><span><a href="#" onClick="save()">编辑</a></span>
				</div>
				<div class="boxBody">
					
					<div class="intro">
						<div class="intro_ll">
                        	
							<table>
								<colgroup width="20%"></colgroup>
								<tr>
									<th><p>昵称</p></th>
									<td><input name="editUser.name" value="${(editUser.name)!}" type="text"  class="t" style="width:200px; height:20px;" /></td>
								</tr>
								<tr>
									<th><p>出生日期</p></th>
									<td><input name="editUser.birthday" value="<#if editUser.birthday?exists> ${editUser.birthday?string("yyyy-MM-dd")} </#if>" type="text" id="time" class="t" style="width:200px; height:20px;" /></td>
								</tr>
								<#--<tr>
									<th><p>星    座</p></th>
									<td><input name="" type="text" class="t" style="width:200px; height:20px;" /></td>
								</tr>-->
								<tr>
									<th><p>家    乡</p></th>
									<td><input name="editUser.city" value="${(editUser.city)!}" type="text" class="t" style="width:200px; height:20px;" /></td>
								</tr>
								<tr>
									<th><p>身    高</p></th>
									<td><input value="${(editUser.height)!}" name="editUser.height" type="text" class="t" style="width:200px; height:20px;" /><#--<input name="" type="button"  class="n1" value="转换成 INCH"  style="color:#bb0000; margin-left:10px;"/>--></td>
								</tr>
								<tr>
									<th><p>体    重</p></th>
									<td><input name="editUser.weight" value="${(editUser.weight)!}" type="text" class="t" style="width:200px; height:20px;" /><#--<input name="" type="button"  class="n1" value="转换成 POUND"  style="color:#bb0000; margin-left:10px;"/>--></td>
								</tr>
							</table>
                            
                        </div>

					</div>
				</div>
			</div>
			
			<div class="Mbox Introduction inx" >
				<div class="boxtop">
					<h3>培 训</h3><span><a href="#" onClick="save()">编辑</a></span>
				</div>
				<div class="boxBody">
					
					<div class="intro">
						<div class="intro_ll">
							<textarea name="editUser.training" cols="" rows="" class="t" style="width:465px; height:150px;">${(editUser.training)!}</textarea>
                        </div>

					</div>
				</div>
			</div>
			
			
			<div class="Mbox Introduction inx" >
				<div class="boxtop">
					<h3>学 历</h3><span><a href="#" onClick="save()">编辑</a></span>
				</div>
				<div class="boxBody">
					
					<div class="intro">
						<div class="intro_ll">
							<textarea name="editUser.schoolRecord" cols="" rows="" class="t" style="width:465px; height:150px;">${(editUser.schoolRecord)!}</textarea>
                        </div>

					</div>
				</div>
			</div>
			
			<div class="Mbox Introduction inx" >
				<div class="boxtop">
					<h3>作 品</h3><span><a href="#" onClick="save()">编辑</a></span>
				</div>
				<div class="boxBody">
					
					<div class="intro">
						<div class="intro_ll">
							<textarea name="editUser.opus" cols="" rows="" class="t" style="width:465px; height:150px;">${(editUser.opus)!}</textarea>
                        </div>

					</div>
				</div>
			</div>
			
			
        </div>
        
        <div class="Mmright">
            <div class="Mbox Introduction iny" >
				<div class="boxtop" >
                	<h3>联 络</h3>
                    <span><a href="#" onClick="save()">编辑</a></span>
				</div>
				<div class="boxBody" style="width:95%;">
					<div class="intro">
						<#--<div class="intro_ll">
                        	<p>MEYMEY地址</p>
                            <input name="" type="text" class="t" style="width:190px; height:20px;" />
                        </div>-->
						<div class="intro_ll">
                        	<p>Email</p>
                            <input name="editUser.email" value="${(editUser.email)!}" type="text" class="t" style="width:190px; height:20px;" />
                        </div>
						<div class="intro_ll">
                        	<p>QQ</p>
                            <input name="editUser.qq" value="${(editUser.qq!)}" type="text" class="t" style="width:190px; height:20px;" />
                        </div>
					</div>
				</div>
			</div>
			
			 <div class="Mbox Introduction iny" >
				<div class="boxtop" >
                	<h3>爱 好</h3>
                    <span><a href="#" onClick="save()">编辑</a></span>
				</div>
				<div class="boxBody" style="width:95%;">
					<div class="intro">
						<div class="intro_ll">
                        	<p>喜欢的音乐</p>
                            <input name="editUser.music" value="${(editUser.music)!}" type="text" class="t" style="width:190px; height:20px;" />
                        </div>
						<div class="intro_ll">
                        	<p>喜欢的明星</p>
                            <input name="editUser.popStar" value="${(editUser.popStar)!}"type="text" class="t" style="width:190px; height:20px;" />
                        </div>
					
					</div>
				</div>
			</div>
            
	    </div>
	   
        <div class="clear"></div>
    </div>
	</form>
</@user.user_html>  


